<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="static/vue-2.5.16.js"></script>
</head>
<body>
<div id="app">
    <h1>{{title}}</h1>
    <hr>
    <v1 a="10"></v1>
</div>
</body>
</html>
<script>
    Vue.component('v1', {
        template: '<h1>{{title}}</h1>',
        data: function () {
            return {
                title: 'component'
            }
        }
    });

    var app = new Vue({
        el: '#app',
        data: {
            title: 'vue'
        }
    });
</script>